package com.ruoyi.production.service.carton;

import com.ruoyi.production.domain.carton.CartonApplyTemporary;

import java.util.List;

/**
 * 纸箱临时申请Service接口
 *
 * @author ruoyi
 * @date 2021-07-11
 */
public interface ICartonApplyTemporaryService
{
    /**
     * 查询纸箱临时申请
     *
     * @param cartonApplyTemporaryId 纸箱临时申请ID
     * @return 纸箱临时申请
     */
    public CartonApplyTemporary selectCartonApplyTemporaryById(Long cartonApplyTemporaryId);

    /**
     * 查询纸箱临时申请列表
     *
     * @param cartonApplyTemporary 纸箱临时申请
     * @return 纸箱临时申请集合
     */
    public List<CartonApplyTemporary> selectCartonApplyTemporaryList(CartonApplyTemporary cartonApplyTemporary);

    /**
     * 新增纸箱临时申请
     *
     * @param cartonApplyTemporary 纸箱临时申请
     * @return 结果
     */
    public int insertCartonApplyTemporary(CartonApplyTemporary cartonApplyTemporary);

    /**
     * 修改纸箱临时申请
     *
     * @param cartonApplyTemporary 纸箱临时申请
     * @return 结果
     */
    public int updateCartonApplyTemporary(CartonApplyTemporary cartonApplyTemporary);

    /**
     * 批量删除纸箱临时申请
     *
     * @param cartonApplyTemporaryIds 需要删除的纸箱临时申请ID
     * @return 结果
     */
    public int deleteCartonApplyTemporaryByIds(Long[] cartonApplyTemporaryIds);

    /**
     * 删除纸箱临时申请信息
     *
     * @param cartonApplyTemporaryId 纸箱临时申请ID
     * @return 结果
     */
    public int deleteCartonApplyTemporaryById(Long cartonApplyTemporaryId);
}
